<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<script type="text/javascript" src="../images/jquery.js"></script>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="./styles/main.css" rel="stylesheet" type="text/css" />
<link href="./styles/general.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="../images/jquery.js"></script>
<script type="text/javascript" src="../images/unti.js"></script>
<title></title>
<style>
#table_info td {height:60px;}
.tdone{text-align:right;}
.tdtwo{text-indent:10px;}
.input{ width:320px;height:20px;}
.textarea{ width:320px; height:100px;}
.span_a{ color: #666;font-size: 12px;text-decoration: none;text-align:center;display:block;padding:2px 5px 2px 23px;border:1px solid #278296;border-right:2px solid #278296;border-bottom:2px solid #278296;width:295px;margin-left:10px;}
.submit{ margin-top:15px; margin-left:350px;}
</style>
<script type="text/javascript">
function store_submit()
{
	if($('#store_cat_name').val().replace(/(^\s*)|(\s*$)/g, "")=="")
	  {
	      alert('分类名称不能为空！');
	      $("#ar_title").focus();
	      return false;
	  }
	  else
	  {
	  	$("#store_form").attr("action","<{$actionurl}>");
	  	return true;
	  }
}
</script>
</head>
<body>
<h1>
<span class="action-span">
<a href="./store.php?action=StoreList">分类列表</a>
</span>
<span class="action-span1">
<a href="/wondershare/store.php?action=StoreList">store栏目管理</a>
</span>
<span id="search_id" class="action-span1"> -添加分类 </span>
<div style="clear:both"></div>
</h1>
<div id="tabbar-div">
      <p>
     
      </p>
    </div>
<div id="tabbody-div"  style=" width:1100px;">
<form id="store_form" action=" " method="post" onsubmit="return store_submit();">
  <table width="100%" cellpadding="1" cellspacing="1" id="table_info">
    <tr>
    	<td class="tdone" width="25%">分类名称：</td>
    	<td class="tdtwo" width="75%"><input type="text" id="store_cat_name" name="store[store_cat_name]" value="<{$store.store_cat_name}>" maxlength="50" class="input"><span class="require-field">*</span></td>
    </tr>
    <tr>
    	<td class="tdone" width="25%">分类备注：</td>
    	<td class="tdtwo" width="75%"><textarea name="store[store_cat_remark]" class="textarea"><{$store.store_cat_remark}></textarea></td>
    </tr>
  </table>
  <input type="hidden" name="store[store_cat_id]" value="<{$store.store_cat_id}>">
  <input class="submit" type="submit" value="保存" >
</form>
</div>
</body>
</html>
